package base.day17.innerclass;

public class TestInnerClass4 {
    //局部内部类
    public static void main(String[] args) {
        Outer3 outer3=new Outer3();
        outer3.method();
    }
}

class Outer3{
    int a=10;
    public void method(){
        int b=20;
        class Inner3{
            public void show(){
                System.out.println(a);
                System.out.println(b);
                System.out.println("show");
            }
        }
        Inner3 i=new Inner3();
        i.show();
    }
}